package com.cloudkinto.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 * @author zhangyy
 * @since 2020-07-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_track_info")
public class TrackInfoDo extends Model<TrackInfoDo> {

    private static final long serialVersionUID=1L;

    @TableId(value = "tracking_number",type = IdType.INPUT)
    private String trackingNumber;

    @TableField("carrier_code")
    private String carrierCode;

    @TableField("status")
    private String status;

    @TableField("order_id")
    private String orderId;

    @TableField("last_event")
    private String lastEvent;

    @TableField("trackinfo")
    private String trackinfo;

    /**
     * 是否归档(1:是 0:否)
     */
    @TableField("archived")
    private Integer archived;

    @TableField("update_time")
    private Date lastUpdateTime;

    @TableField("delete_flag")
    @TableLogic
    private Integer deleteFlag;

}
